//导入EventEmitter对象
import {EventEmitter} from 'events'
//创建对象
const bus=new EventEmitter()
//默认导出
export default bus